//
//  CGQDetailModel.swift
//  SheYangBigData
//
//  Created by 叁拾叁 on 2021/4/15.
//  Copyright © 2021 叁拾叁. All rights reserved.
//

import UIKit


import HandyJSON


struct CGQDetailModel : HandyJSON{

    ///
    var dataList: [NSDataListModel]?

}


struct NSDataListModel : HandyJSON {
    
    /// 28
    var protocolId: Int = 0
    /// 0
    var decimalDigit: Int = 0
    /// <#泛型#>
    var createBy: String?
    /// 1
    var ratio: Int = 0
    /// <#泛型#>
    var warnUpperLimit: String?
    /// <#泛型#>
    var remarks: String?
    /// 34
    var protocolDeviceTypeId: Int = 0
    /// 2
    var currentValue: Int = 0
    /// 关
    var textValue: String?
    /// 2
    var deviceLevel: Int = 0
    /// <#泛型#>
    var hardwarePostIp: String?
    /// <#泛型#>
    var hardwareId: String?
    /// 0
    var isManual: Int = 0
    ///
    var socketSession: String?
    /// <#泛型#>
    var postUrl: String?
    /// <#泛型#>
    var tenantId: String?
    /// 风机
    var deviceName: String?
    /// <#泛型#>
    var warnLowerLimit: String?
    /// <#泛型#>
    var type: String?
    /// <#泛型#>
    var isGroup: String?
    /// 1
    var isControllable: Int = 0
    /// 4699
    var parentId: Int = 0
    /// 121
    var portId: Int = 0
    /// 0
    var status: Int = 0
    ///
    var unit: String?
    /// 0
    var sort: Int = 0
    ///
    var uuid: String?
    /// <#泛型#>
    var hardwarePostPort: String?
    /// 1278
    var version: Int = 0
    /// <#泛型#>
    var warningType: String?
    /// <#泛型#>
    var deviceComment: String?
    ///
    var deviceId: String?
    /// <#泛型#>
    var updateBy: String?
    ///
    var updateDate: String?
    /// <#泛型#>
    var deviceLocation: String?
    ///
    var referenceJson: String?
    /// <#泛型#>
    var isOnline: String?
    /// <#泛型#>
    var availableUpperLimit: String?
    /// <#泛型#>
    var isMap: String?
    ///
    var createDate: String?
    /// <#泛型#>
    var deviceListJson: String?
    /// <#泛型#>
    var id: String?
    /// 102
    var appId: Int = 0
    /// <#泛型#>
    var availableLowerLimit: String?
    
    ///
    var controlParamsList: [NSControlParamsListModel]?
    var isSelect: Bool = false


}

struct NSControlParamsListModel : HandyJSON {

    /// 1
    var lower_limit: String?
    /// 开
    var text: String?
    /// 1
    var upper_limit: String?
    /// 1
    var value: String?

}
